package com.atguigu.c_break;

public class Demo {
    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            //在特定情况下结束循环
            if (i == 3){
                break;//中断循环
            }
            System.out.println("Hello" + i);
        }
    }
}
